# $OpenBSD: Makefile,v 1.26 2015/03/16 18:07:37 naddy Exp $

COMMENT=	library for Chinese language processing

DISTNAME=	libtabe-0.2.6
PKGNAME=	zh-${DISTNAME}
REVISION=	6
CATEGORIES=	chinese
SHARED_LIBS +=	tabe                 2.1      # .0.0
SHARED_LIBS +=	bims                 2.1      # .0.0

HOMEPAGE=	http://libtabe.sourceforge.net/

# BSD
PERMIT_PACKAGE_CDROM=   Yes

WANTLIB += c lib/db/db=3

MASTER_SITES=	http://www.kpvs.tp.edu.tw/

LIB_DEPENDS=	databases/db/v3

CONFIGURE_STYLE= gnu dest
CONFIGURE_ARGS=	--with-db-inc=${LOCALBASE}/include/db \
		--with-db-lib=${LOCALBASE}/lib/db \
		${CONFIGURE_SHARED}
MODGNU_CONFIG_GUESS_DIRS=${WRKSRC}/script

WRKDIST=	${WRKDIR}/libtabe
USE_X11 =	Yes

NO_TEST=	Yes

.include <bsd.port.mk>
